
package com.example.demo.Common;

public class OException extends RuntimeException {

    public OException() {
    }

    public OException(String message) {
        super(message);
    }

    /**
     * 丢出一个异常
     *
     * @param message
     */
    public static void fail(String message) {
        throw new OException(message);
    }

}
